home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / hity wydania / Ubuntu 9.10 PL / karmelkowy-koliberek-desktop-9.10-i386-PL.iso / casper / filesystem.squashfs / etc / ppp / ipv6-down < prev    next >
Text File  |  2009-02-20  |  784b  |  29 lines

  1. #!/bin/sh
  2.  
  3. # These variables are for the use of the scripts run by run-parts.
  4. PPP_IFACE="$1"
  5. PPP_TTY="$2"
  6. PPP_SPEED="$3"
  7. PPP_LOCAL="$4"
  8. PPP_REMOTE="$5"
  9. PPP_IPPARAM="$6"
  10. export PPP_IFACE PPP_TTY PPP_SPEED PPP_LOCAL PPP_REMOTE PPP_IPPARAM
  11.  
  12. # The environment is cleared before executing this script.
  13. PATH=/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin
  14. export PATH
  15.  
  16. # If /var/log/ppp-ipupdown.log exists use it for logging.
  17. if [ -e /var/log/ppp-ipupdown.log ]; then
  18.   exec >> /var/log/ppp-ipupdown.log 2>&1
  19. fi
  20.  
  21. # This script can be used to override the .d files supplied by other packages.
  22. if [ -x /etc/ppp/ipv6-down.local ]; then
  23.   exec /etc/ppp/ipv6-down.local "$*"
  24. fi
  25.  
  26. run-parts /etc/ppp/ipv6-down.d \
  27.   --arg="$1" --arg="$2" --arg="$3" --arg="$4" --arg="$5" --arg="$6"
  28.  
  29.